/**
 * Copyright 2022 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#serviceweaver-jumbotron {
  background: rgba(255, 234, 167, 1.0);
  border-radius: 1em;
  margin: 1em;
  margin-left: min(12em, 15%);
  margin-right: min(12em, 15%);
  padding: 1em;
  text-align: center;
  font-size: 1.25em;
  overflow-wrap: anywhere;
}

@media (max-width: 800px) {
  #serviceweaver-jumbotron {
    margin-left: 0pt;
    margin-right: 0pt;
  }
}

#serviceweaver-jumbotron h1 {
  font-size: 2em;
}

#serviceweaver-jumbotron a:hover {
  background-color: #424649;
}

#serviceweaver-jumbotron a {
  display: inline-block;
  margin-top: 1em;
  background-color: #212529;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  padding: 0.75ch;
}

.serviceweaver-subtitle {
  max-width: 75%;
  margin-left: auto;
  margin-right: auto;
}

.announcement-banner {
  background-color: #f8d7da; /* Light red background */
  color: #721c24; /* Dark red text */
  padding: 15px;
  text-align: center;
  font-size: 20px;
  height: auto;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.announcement-banner p {
  margin: 0;
}

.intro-row {
  display: flex;
  flex-wrap: wrap;
  flex-grow: grow;
  align-items: center;
  margin-top: 1em;
  gap: 4px;
}

.intro-row h1 {
  font-weight: normal;
}

.intro-col {
  margin-left: auto;
  margin-right: auto;
  flex: 0 0 auto;
  width: 47%;
  min-width: 20em;
}

#placement {
    width: 100%;
    height: auto;
}

.component {
    font-size: 8pt;
}

.component-0 { fill: #6e8898ff; }
.component-1 { fill: #a37b73ff; }
.component-2 { fill:#d3d0cbff; }
.component-3 { fill: #d34f73ff; }

#feature-heading {
  text-align: center;
  font-weight: normal;
  font-size: 3em;
}

.feature-list {
  display: grid;
  grid-gap: 4ch;
  justify-content: center;
  padding-left: 8ch;
  padding-right: 8ch;
  grid-template-columns: minmax(20em, 40em) minmax(20em, 40em);
}

@media (max-width: 800px) {
  .feature-list {
    padding-left: 2ch;
    padding-right: 2ch;
    grid-template-columns: minmax(20em, 40em);
  }
}

.feature-bubble {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 1ch;
}

.feature-bubble h2 a {
  color: black;
  text-decoration: none;
}
